using UnityEngine;
using System.Collections;

public class EncounterInit : MonoBehaviour
{
	
	void Awake ()
	{
		GameObject mainPlayer = GameObject.Find("MainPlayer");
		Camera mainCamera = Camera.main;
		mainPlayer.transform.parent = mainCamera.transform;
		
		GameObject npc = GameObject.Find("Npc");
		//SceneFightNpc sceneFightNpc = npc.GetComponent<SceneFightNpc>();
		//sceneFightNpc.mainRole = mainPlayer;
		
	}

	// Use this for initialization
	void Start ()
	{
		
	}
	
	// Update is called once per frame
	void Update ()
	{
		
	}
}
